/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class LoaiMonAn {
    private int MaLMA;
    private int MaNN;
    private String TenLMA;
    public LoaiMonAn(){
        MaLMA = 0;
        MaNN = 0;
        TenLMA = "";
    }
    public void setMaLMA (int value){
        MaLMA = value;
    }
    public int getMaLMA(){
        return MaLMA;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setTenLMA (String value){
        if(value == null)
            value = "";
        TenLMA = value;
    }
    public String getTenLMA(){
        return TenLMA;
    }
}
